<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>QUnit Test Suite - JUnit report</title>
<link rel="stylesheet" href="../../qunit/qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="../../qunit/qunit.js"></script>
<script type="text/javascript" src="junitlogger.js"></script>
<script type="text/javascript">
QUnit.jUnitReport = function(data) {
	console.log(data.xml);
};

module('Module 1');

test("test 1", 2, function () {
	equal(1, 1, "Assert 1 = 1");
	equal(1, 2, "Assert fail 1 = 2");
});

test("test 2", 3, function () {
	equal(1, 1, "Assert 1 = 1");
	equal(1, 2, "Assert fail 1 = 2");
	equal(1, 1, "Assert 1 = 1");
});

module('Module 2');

test("test 3", 2, function () {
	equal(1, 1, "Assert 1 = 1");
	equal(1, 2, "Assert fail 1 = 2");
});

test("test 4", 3, function () {
	equal(1, 1, "Assert 1 = 1");
	equal(1, 2, "Assert fail 1 = 2");
	equal(1, 3, "Assert fail 1 = 3");
});
</script>
</head>
<body>
	<div id="qunit"></div>
</body>
</html>
